shorthand: Make border-image unget/settable
authorBenjamin Otte <otte@redhat.com>
Wed, 4 Jan 2012 03:04:59 +0000 (04:04 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 9 Jan 2012 17:37:57 +0000 (18:37 +0100)
gtk/gtkcssshorthandpropertyimpl.c

index c394ffb18cbf19716f3fde49f5d8ef5bd810065a..caaf01ed34ca66656d065f2fe4aaf9458990362c 100644 (file)
@@ -25,7 +25,7 @@
 #include <cairo-gobject.h>
 #include <math.h>
 
-#include "gtkborderimageprivate.h"
+#include "gtkcssimageprivate.h"
 #include "gtkcssstylefuncsprivate.h"
 #include "gtkcsstypesprivate.h"
 
@@ -677,9 +677,9 @@ _gtk_css_shorthand_property_init_properties (void)
                                           unpack_border_color,
                                           pack_border_color);
   _gtk_css_shorthand_property_register   ("border-image",
-                                          GTK_TYPE_BORDER_IMAGE,
+                                          G_TYPE_NONE,
                                           border_image_subproperties,
                                           parse_border_image,
-                                          _gtk_border_image_unpack,
-                                          _gtk_border_image_pack);
+                                          NULL,
+                                          NULL);
 }